package com.night.icm.service.base.service.comprehensive_test;

import com.night.icm.model.base.comprehensive_test.IdeologicalPointDTO;
import com.night.icm.persistence.base.entity.comprehensive_test.ComprehensiveScore;
import com.night.icm.persistence.base.entity.comprehensive_test.IdeologicalPoint;

/**
 * IdeologicalPointService
 *
 * @author Liao ZhiYong
 * @date 2020/3/10
 */
public interface IdeologicalPointService {

    /**
     * 新建思想分
     *
     * @param ideologicalPointDTO   思想分
     * @param comprehensiveScore 综合分
     * @return 思想分
     */
    IdeologicalPoint create(IdeologicalPointDTO ideologicalPointDTO, ComprehensiveScore comprehensiveScore);

    /**
     * 更新思想分
     *
     * @param ideologicalPointDTO 思想分
     * @param comprehensiveScore  综合分
     * @return 思想分
     */
    IdeologicalPoint update(IdeologicalPointDTO ideologicalPointDTO, ComprehensiveScore comprehensiveScore);
}
